<?php

namespace app\warehouse\controller;
use app\common\controller\PCBase;
use app\common\library\Upload;
use app\warehouse\logic\GoodsshelvesLogic;
use Throwable;
use  think\App;
class Goodsshelves extends PCBase
{

    /**
     * @desc   仓库列表
     * @author zhangheng
     * @date   2024-11-30
     */
    public function getGoodsshelvesList(){
        $params     = $this->request->post();
        return  (new GoodsshelvesLogic())->getGoodsshelvesList($params);
    }
    /**
     * @desc   货架位列表
     * @author zhangheng
     * @date   2025-02-24
     */
    public function GoodsshelvesList(){
        $params     = $this->request->post();
        return  (new GoodsshelvesLogic())->GoodsshelvesList($params);
    }

    /**
     * @desc   仓库列表添加
     * @author zhangheng
     * @date   2024-11-30
     */
    public function add(){
        $params     = $this->request->post();
        return  (new GoodsshelvesLogic())->add($params);
    }

    /**
     * @desc   仓库列表修改
     * @author zhangheng
     * @date   2024-11-30
     */
    public function edit(){
        $params     = $this->request->post();
        return  (new GoodsshelvesLogic())->edit($params);
    }

    /**
     * @desc   仓库列表详情
     * @author zhangheng
     * @date   2024-11-30
     */
    public function find(){
        $params     = $this->request->post();
        return  (new GoodsshelvesLogic())->find($params);
    }

}